package atag.runtime.sensors;

/**
 * Represents an RFID Samert Card Reader.
 * @author ajay chhatwal
 */
public class RFIDSensor {


    /**
     * Creates a new instance of RFIDSensor
     * @param name The name of the RFID Card Reader
     * @throws CardException if error occurs during communication with the Smart
     * Card Reader
     */
    public RFIDSensor(String name) throws Exception {
        throw new IllegalStateException("Freenodes cant run RFIDSensor code");
        }

    /**
     * Waits for an RFID card to be swiped (touched and removed) and returns its
     * Unique Identifier (UID)
     * @return the UID of the card
     * @throws CardException if error occurs during communication with the Smart
     * Card stack or the card itself.
     */
    public String getUID() throws Exception {
                throw new IllegalStateException("Freenodes cant run RFIDSensor code");
    }
}
